/*
 * @Title:  AlipayNotifyResult.java   
 * @Package com.third.alipay.util   
 * @Description:    TODO(用一句话描述该文件做什么)   
 * @author: 李凯     
 * @date:   2018年6月4日 上午10:06:55   
 * @version V1.0 
 */  
package com.third.base.wx;

import java.math.BigDecimal;

/*  
 * @ClassName:  AlipayNotifyResult   
 * @Description:   支付宝、微信支付回调数据
 * @author: 李凯
 * @date:   2018年6月4日 上午10:06:55   
 *     
 */
public class NotifyResult {
	
	private boolean tradeStatus;//是否支付成功,作为结果验证
	private String appId;//平台appId
	private String outTradeNo;//平台传递给支付平台的业务单号
	private BigDecimal amount;//商户实收金额
	private String tradeNo;//支付平台的交易单号
	private String attach;//平台传递给支付平台的参数，原样返回
	
	//返回true成功
	public boolean isTradeStatus() {
		return tradeStatus;
	}
	public void setTradeStatus(boolean tradeStatus) {
		this.tradeStatus = tradeStatus;
	}
	public String getAppId() {
		return appId;
	}
	public void setAppId(String appId) {
		this.appId = appId;
	}
	public String getOutTradeNo() {
		return outTradeNo;
	}
	public void setOutTradeNo(String outTradeNo) {
		this.outTradeNo = outTradeNo;
	}
	
	public BigDecimal getAmount() {
		return amount;
	}
	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}
	public String getTradeNo() {
		return tradeNo;
	}
	public void setTradeNo(String tradeNo) {
		this.tradeNo = tradeNo;
	}
	public String getAttach() {
		return attach;
	}
	public void setAttach(String attach) {
		this.attach = attach;
	}
	
	
}
